package com.peas.platform.module.icims.expenditure.setting.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.expenditure.setting.adapter.repository.ExpenditureFeetypeFileRepository;
import com.peas.platform.module.icims.expenditure.setting.adapter.repository.po.ExpenditureFeetypeFilePo;
import com.peas.platform.module.icims.expenditure.setting.domain.ExpenditureFeetypeFileDomain;
import com.peas.platform.module.icims.expenditure.setting.dto.ExpenditureFeetypeFileDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ExpenditureFeetypeFileDomainImpl extends BaseDomainImpl<ExpenditureFeetypeFileDto, ExpenditureFeetypeFilePo> implements ExpenditureFeetypeFileDomain {

    @Resource
    private ExpenditureFeetypeFileRepository expenditureFeetypeFileRepository;

    @Override
    public BaseRepository<ExpenditureFeetypeFilePo> getMapper() {
        return expenditureFeetypeFileRepository;
    }

    @Override
    public Class<? extends BaseRepository<ExpenditureFeetypeFilePo>> getRepositoryClass() {
        return ExpenditureFeetypeFileRepository.class;
    }

}
